﻿<!--
//********************************************************************************//
//创建日期：<创建日期，2016-03-14>
//创建作者：<郭登杰，guodengjie@shanghai3h.com>
//功能说明：发票入库
//********************************************************************************//
    -->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="../../../JS/layui/css/layui.css" rel="stylesheet" />
    <script src="../../../JS/layui/layui.js"></script>
    <link href="../../../css/main.css" rel="stylesheet" />
    <script src="../../../JS/AddEditCancel.js"></script>
    <script src="../../../PageJS/common.verify.js"></script>
    <script defer src="../../../PageJS/common.js"></script>
    <script defer src="../../../PageJS/YSZW/FaPiaoRK.js"></script>
</head>
<body>
    <form class="layui-form">
        <div id="divContent" style="width:98%;margin:auto">
            <div class="tabletitle1" align="center" style="height:23px">
                发票入库
            </div>
            <hr />
            <div id="divList">
                <table id="ContentList" class="layui-table">
                    <thead>
                        <tr>
                            <th style="width: 10%;text-align:center">入库数目</th>
                            <th style="width: 18%; text-align: center">开始号码</th>
                            <th style="width: 18%; text-align: center">截止号码</th>
                            <th style="width: 10%; text-align: center">入库日期</th>
                            <th style="width: 10%; text-align: center">入库人</th>
                            <th style="width: 10%; text-align: center">使用类别</th>
                            <th style="width: 8%; text-align: center">领用数目</th>
                            <th style="width: 8%; text-align: center">剩余数目</th>
                            <td style="width:8%"></td>
                        </tr>
                    </thead>
                </table>
                <table id="ItemStr" style="display: none">
                    <tr class="datarow" vid="objid">
                        <td style="text-align:center">objCount</td>
                        <td style="text-align:center">objStart</td>
                        <td style="text-align:center">objEnd</td>
                        <td style="text-align:center">objTime</td>
                        <td style="text-align:center">objUser</td>
                        <td style="text-align:center">objType</td>
                        <td style="text-align:center">objUse</td>
                        <td style="text-align:center">objRemain</td>
                        <td><button vid="objid" class="iCancel layui-btn layui-btn-primary" type="button">取消</button></td>
                    </tr>
                </table>
                <hr />
                <table id="ContentEdit" class="layui-table">
                    <tr>
                        <td style="text-align:center;width:10%">
                            <input type="text" id="InputCount" autocomplete="off" class="layui-input" style="ime-mode:Disabled" onkeydown="return onlyNum();" onkeypress="    onKeyNext('StartNo')">
                        </td>
                        <td style="text-align:center;width:18%">
                            <input type="text" id="StartNo" autocomplete="off" class="layui-input" style="ime-mode:Disabled" onkeydown="return onlyNum();" onkeypress="    onKeyNext('InputTime')">
                        </td>
                        <td style="text-align:center;width:18%">
                            <input type="text" id="EndNo" autocomplete="off" class="layui-input">
                        </td>
                        <td style="text-align:center;width:10%">
                            <input id="InputTime" class="layui-input" onclick="layui.laydate({ elem: this, festival: true })" onkeypress="    onKeyNext('InputOperator')" />
                        </td>
                        <td style="text-align:center;width:10%">
                            <input type="text" id="InputOperator" autocomplete="off" class="layui-input">
                        </td>
                        <td style="text-align:center;width:10%">
                            <select id="UseType">
                                <option value="0">自用</option>
                                <option value="1">送账务公司</option>
                            </select>
                        </td>
                        <td style="width:24%" colspan="3">
                            <i id="iadd" class="layui-icon" style="font-size: 15px; color: #1E9FFF;cursor: pointer;">&#xe61f;</i>
                            <i id="icancel" class="layui-icon" style="font-size: 20px; color: #1E9FFF;cursor: pointer;">&#xe640;</i>
                            <span>注:点击左侧图标开启/关闭发票输入</span>
                        </td>
                    </tr>
                </table>
                <div style="text-align: center;padding-top:3px">
                    <button tabindex="6" id="btnSave" class="layui-btn layui-btn-primary" type="button">入库</button>
                </div>
                <label id="ObjId" vid="0"></label>
                
            </div>
        </div>
    </form>
</body>
</html>
